﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户首页</title>
    <link href="/CSS/common.css" rel="stylesheet" type="text/css" />
    <link href="/CSS/info.css" rel="stylesheet" type="text/css" />
    <link href="/css/blog.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.js" language="javascript" type="text/javascript"></script>
    <script src="/js/common.js" language="javascript" type="text/javascript"></script>
    <script src="/JS/jyAjax.js" type="text/javascript"></script>
    <link href="/JS/MsgBox/moonbox.css" rel="stylesheet" type="text/css" />
    <script src="/JS/MsgBox/moonbox.js" type="text/javascript"></script>
    <!--[if lt IE 7]> 
    <script src="/js/png.js" language="javascript" type="text/javascript"></script>
    <script src="/js/ie6.js" language="javascript" type="text/javascript"></script>
    <![endif]--> 
    <script src="/js/caretInsert.js" language="javascript" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">    
    $(function(){
			$(".dlist .menu li").click(function(){
			    var array = $(".dlist .menu li");
		        $(".dlist .menu li").removeClass();
		        this.className = "sel";
			}),
			$("#getFace").click(function(){
				var offset = $(this).offset();
				$(".face").css("left",offset.left);
				$(".face").css("top",offset.top+28);
				$(".face").fadeIn();
			}),
			$("#closeFace").click(function(){
				$(".face").fadeOut();	
			}),
			$(".face a").click(function(){  
				$('.slogan textarea').setCaret();
        		$('.slogan textarea').insertAtCaret($(this).attr("tag"));
			}),
			//编辑
			$(".slogan a").click(function(){
			    $("#ulEdit").attr("class","hid");
			    $("#ulSubmit").attr("class","slogan");
			}),
			//取消
			$("#ulSubmit input[type=button]").click(function(){
			    $("#ulEdit").attr("class","slogan");
			    $("#ulSubmit").attr("class","hid");
			}),
			//提交
			$("#ulSubmit input[type=submit]").click(function(){			    
			    $("#ulEdit").attr("class","slogan");
			    $("#ulSubmit").attr("class","hid");
			})
		})    
    </script>
</head>
<body>
    $Header$
    <div id="body">
        <div class="left">
            $LeftUserCmd$
            $LeftUserFriendAdd$
        </div>
        <div class="right">
            <div class="r_left">
                <ul class="item">
                    <h1>个人档案</h1>
                    <li>
                        <div class="userinfo">
                            <ul class="head">
                                <li><a href="/Album/MyAlbum.aspx?userID=$userID$">
                                    <img src="$UserHead$" /></a></li>
                            </ul>
                            $UserInfo$
                            
                        <ul id="ulEdit" class="slogan">                        
                        	<li class="cont">心情：$MoodContent$</li>
                        	<li><a href="#">发布</a></li>
                        </ul>
                        <form action="/home/index.aspx" method="post">
                        <ul id="ulSubmit" class="slogan hid">
                        	<li><a id="getFace" href="javascript:;"><img src="/images/face/c.gif" alt="表情" /></a></li>
                        	<li><textarea name="moodContent"></textarea></li>
                            <li><input type="submit" value="发布" class="sm_btn" /></li>
                            <li><input type="button" value="取消" class="sm_btn_n" /></li>
                        </ul>
                        </form>
                            $UserMsg$
                        </div>
                    </li>
                    <h6>
                    </h6>
                </ul>
                <ul class="item">
                    <li>
                        <div class="dlist">
                            <ul class="menu">
                                <li class="sel" onclick='fillNewHtml("dpro","/home/MiniContent/State.ashx$MiniContentUserID$")'><a href="javascript:;"><span>好友动态</span></a></li>
                                <li onclick='fillNewHtml("dpro","/home/MiniContent/Album.ashx$MiniContentUserID$")'><a href="javascript:;">
                                    相册</a></li>
                                <li onclick='fillNewHtml("dpro","/home/MiniContent/Blog.ashx$MiniContentUserID$")'><a href="javascript:;">
                                    日志</a></li>
                                <li onclick='fillNewHtml("dpro","/home/MiniContent/Gift.ashx$MiniContentUserID$")'><a href="javascript:;">
                                    礼物</a></li>
                                <li onclick='fillNewHtml("dpro","/home/MiniContent/Vote.ashx$MiniContentUserID$")'><a href="javascript:;">
                                    投票</a></li>
                                <!--<li onclick='fillhtml("dpro","/cache/user/AlbumListli.htm")'><a href="javascript:;">
                                    圈子</a></li>-->
                                <li onclick='fillNewHtml("dpro","/home/MiniContent/Guess.ashx$MiniContentUserID$")'><a href="javascript:;">
                                    竞猜</a></li>
                            </ul>
                            <ul>
                                <li id="dpro">
                                    <img src="/JS/MsgBox/preload.gif" />
                                </li>
                            </ul>
                        </div>
                    </li>
                    <h6>
                    </h6>
                </ul>
            </div>
            <div class="r_right">
                $VisitIn_ul$ $user_congnition$ $MyFriendList_ul$
            </div>
        </div>
    </div>
    <div class="Clear">
    </div>
    $Footer$
    <div class="face">
        <iframe frameborder="0" scrolling="no"></iframe>
        <h5>
            <img id="closeFace" src="/images/close.gif" alt="关闭" />选择您喜欢的表情</h5>
        <ul>
        $FaceList$           
        </ul>
    </div>
</body>
</html>

<script language="javascript" type="text/javascript">    
$(function(){
		//fillNewHtml("dpro","/home/MiniContent/Album.ashx$MiniContentUserID$")
		fillNewHtml("dpro","/home/MiniContent/State.ashx$MiniContentUserID$")
	})
</script>

